package dongshi.daddy.command.v2.command;

import dongshi.daddy.command.v2.receiver.XiaoAiTongXueReceiver;

// 唱歌命令，内部调用小爱同学的唱歌
public class SingCommand implements Command {
    private XiaoAiTongXueReceiver xiaoAiTongXue;

    public SingCommand(XiaoAiTongXueReceiver xiaoAiTongXue) {
        this.xiaoAiTongXue = xiaoAiTongXue;
    }

    @Override
    public void exec() {
        this.xiaoAiTongXue.sing();
    }
}
